Pin Block Format 47 is the ISO 9564-1 Format 3 PIN Block
This PIN block is constructed by modulo‑2 addition of two 64‑bit fields: the plain text PIN field and the account number field.
The plain text PIN field is formatted as follows:
|
C |
N |
P |
P |
P |
P |
P/F |
P/F |
P/F |
P/F |
P/F |
P/F |
P/F |
P/F |
F |
F |
Where
C = Control field - Binary 0011.
N = PIN length - 4‑bit binary number with permissible values of 0100 (4) to 1100 (12).
P = PIN digit - 4‑bit field with permissible values of 0000 (zero) to 1001 (9).
P/F = PIN/Fill digit - Designation of these fields is determined by the PIN length field.
F = Fill digit - 4-bit field, with values from 1010 (10) to 1111 (15), where the fill-digit values are randomly or sequentially selected from this set of six possible values, such that it is highly unlikely that the identical configuration of fill digits will be used more than once with the same account number field by the same PIN encipherment device.
The account number field is formatted as follows:
|
0 |
0 |
0 |
0 |
A1 |
A2 |
A3 |
A4 |
A5 |
A6 |
A7 |
A8 |
A9 |
A10 |
A11 |
A12 |
Where:
0 = Pad digit - A 4‑bit field The only permissible value is 0000 (zero).
A1 ... A12 = Account number- Content is the 12 right‑most digits of the primary account number (PAN) excluding the check digit. A12 is the digit immediately preceding the PAN's check digit. If the PAN excluding the check digit is less than 12 digits, the digits are right justified and padded to the left with zeros. Permissible values are 0000 (zero) to 1001 (9).